home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _2A2A6C6B898E414F94368F3AC5475307 < prev    next >
Encoding:
Text File  |  2004-03-17  |  1.8 KB  |  72 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("sprite")
  5.  
  6.     pass()
  7.     {
  8.         pixelshader("OldMovie.psh")
  9.  
  10.         tmu()
  11.         {
  12.             texture()
  13.             {
  14.                 mapchannel(0)
  15.                 usermap(0)
  16.  
  17.                 addressfunc("clamp", "clamp", "clamp")
  18.                 filtering("linear_no_mip")
  19.             }
  20.         }
  21.  
  22.         tmu()
  23.         {
  24.             texture()
  25.             {
  26.                 mapchannel(0)
  27.                 image("Frame.dds")
  28.                 filtering("linear_no_mip")
  29.             }
  30.         }
  31.  
  32.         tmu()
  33.         {
  34.             TexMod("scale", "const", 1.5, 0, 0, "const", 0.001, 0, 0)            
  35.             TexMod("translate", "lin", 0, 0.02, 0, "lin", 0, -1.0, 0)
  36.             texture()
  37.             {
  38.                 mapchannel(0)
  39.                 image("OldFilmDust.dds")
  40.                 filtering("linear_no_mip")
  41.             }
  42.         }
  43.  
  44.         tmu()
  45.         {
  46.             TexMod("translate", "step", 0.3, 19, 0.3, "step", 0.01, 7, 0.13)
  47.  
  48.             texture()
  49.             {
  50.                 mapchannel(0)
  51.                 AnimFPS(25)                
  52.                 image("OldFilmGrain.dds")
  53.                 image("OldFilmGrainClear.dds")
  54.                 image("OldFilmGrainClear.dds")                
  55.                 image("OldFilmGrainClear.dds")                
  56.                 image("OldFilmGrainClear.dds")                
  57.                 image("OldFilmGrainClear.dds")                
  58.                 image("OldFilmGrainClear.dds")                                                                                                                
  59.  
  60.                 filtering("linear_no_mip")
  61.             }
  62.         }        
  63.         
  64.         tfactor(1,1,1,1)
  65.         colorgen("tfactor", "none", 0, 0, 0, "sin", 0.9, 64, 0.1)
  66.  
  67.         depthfunc("always", 0)
  68.         nofog()
  69.     }
  70. }
  71.  
  72.